package com.it.service;

import com.it.pojo.PageResult;
import com.it.pojo.Student;
import com.it.pojo.StudentQueryParam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StudentService {
    //分页查询
    PageResult page(StudentQueryParam studentQueryParam);

    //新增学生
    void save(Student student);

    //根据ID查询学生数据
    Student getInfo(Integer id);

    //修改学生数据
    void update(Student student);

    //删除学生数据
    void delete(List<Integer> ids);

    //违纪处理
    void violation(Integer id,Integer score);
}
